<?php

use yii\helpers\Html;

/* @var $this \yii\web\View */
/* @var $content string */
?>

<header class="main-header">

    <?php echo Html::a(
        '<span class="logo-mini">途者</span><span class="logo-lg">' . Yii::$app->name . '</span>',
        Yii::$app->homeUrl,
        ['class' => 'logo']
    ); ?>

    <nav class="navbar navbar-static-top" role="navigation">

        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only"><?php echo Yii::t('backend', 'Toggle navigation') ?></span>
        </a>

        <div class="navbar-custom-menu">

            <ul class="nav navbar-nav">

                <li class="dropdown notifications-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-check-square"></i>
                        <span class="hidden-xs"><?php echo Yii::t('backend', 'Help Links') ?></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="header">电话热线：13800138000</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li>
                                    <a href="http://wx.tourze.com">
                                        <i class="fa fa-users text-aqua"></i> 微信公众平台
                                    </a>
                                </li>
                                <li>
                                    <a href="http://pay.tourze.com">
                                        <i class="fa fa-shopping-cart text-green"></i> 免签接入支付宝&微信
                                    </a>
                                </li>
                                <li>
                                    <a href="http://oc.tourze.com">
                                        <i class="fa fa-users text-red"></i> 云运营中心
                                    </a>
                                </li>
                                <li>
                                    <a href="http://doc.tourze.com/tourze/uc-oauth2-integration">
                                        <i class="fa fa-warning text-yellow"></i> 途者通行证接入
                                    </a>
                                </li>
                                <li>
                                    <a href="http://bbs.tourze.com">
                                        <i class="fa fa-user text-red"></i> 云社区 & 云APP
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="footer"><a href="http://www.tourze.com" target="_blank">更多 &gt;&gt;</a></li>
                    </ul>
                </li>

                <!-- User Account: style can be found in dropdown.less -->
                <!--<li>
                    <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
                </li>-->
            </ul>
        </div>
    </nav>
</header>
